<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>React项目结构</title>
    <script type="text/javascript">
    function fun(val,count=0){
        debugger
        var vals=val+"";
        if(vals.length<=1){
            return count;
        }else{
            count++
            var result=vals.split("").reduce(function(a,b){
                return a*b;
            })
            fun(result,count);
        }
    }

    fun(533330)
    </script>
</head>
<body>
  <div id="test"></div>
</body>
</html>
